home *** CD-ROM | disk | FTP | other *** search
/ Developer Helper 1: Phil & Dave's Excellent CD / Excellent CD HFS.raw / Utilities / ResEdit / Examples / PExamples / BuildEditor next >
Text File  |  2022-08-05  |  677b  |  27 lines

  1. #ResEdit PExample
  2. #This is the script file BuildEditor which builds the Pascal ResEdit editor example 
  3.  
  4. Open "{WorkSheet}"
  5.  
  6. set start `date -n`
  7. echo Building the ResEdit Pascal editor example
  8.  
  9. # Set the directory to the PExamples folder
  10. directory "{boot}"ResEdit:Examples:PExamples:
  11.  
  12. # Set the variable to indicate where ResEdit can be found.
  13. #  This variable is used by the make file to put the 
  14. #  example editor into ResEdit.
  15. set buildToName "{boot}ResEdit:ResEdit"
  16. Export buildToName
  17.  
  18. make -f MakeEditor > temp
  19. temp
  20. delete temp
  21.  
  22. beep 
  23. set end `date -n`
  24. echo "        " built in `Evaluate ({end} - {start}) DIV 60` "minutes " `Evaluate ({end} - {start}) MOD 60` "seconds"
  25.  
  26.  
  27.